package com.jcsz.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jcsz.common.utils.PageUtils;
import com.jcsz.gulimall.product.entity.CategoryBrandRelationEntity;
import com.jcsz.gulimall.product.vo.BrandVo;
import com.jcsz.gulimall.product.vo.CategoryBrandRelationVo;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author 一把Po吉他
 * @email volibear@gulimall.com
 * @date 2022-10-16 08:40:06
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryBrandRelationVo> getRelationByBrandId(Long brandId);


    void updateBrandName(Long brandId, String name);

    void updateCategoryName(Long catId,String name);

    List<BrandVo> getRelationByCatId(Long catId);
}

